package com.itheima.code.swagger;

/*****
 * @Author: Mario
 * @Date: 2019/7/22 15:35
 * @Description: com.itheima.code.util
 *  生成JavaBean的属性配置
 ****/
public class SwaggerModelProperties {

  // 属性名字
  private String name;

  // 类型
  private String type;

  // 格式
  private String format;

  // 描述
  private String description;

  public SwaggerModelProperties() {}

  public SwaggerModelProperties(String name, String type, String format, String description) {
    this.name = name;
    this.type = type;
    this.format = format;
    this.description = description;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public String getFormat() {
    return format;
  }

  public void setFormat(String format) {
    this.format = format;
  }

  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }
}
